<? 
	foreach ($this -> lijstOverzicht as $value){
	
	
		
		$item = $value;
		
		if($item instanceof item_activiteiten){
				
				
			
				
				
				?>
                	<div class="item">
                            	<ul>
                                	<li class="title"><?= $item -> title; ?></li>
                                    <li class="date">Op: <?= $item -> act_date; ?></li>
                                </ul>
                                
                                <div>
                                	<?= view::maxChars(view::stripHtml($item -> act_beschrijving), 300); ?>
                                       <a href="/bewonersgroepen/<?= $this -> bewGroepUrlPart ?>/activiteiten/<?= view::encodeForUrl($item -> title); ?>/<?= $item -> id ?>/">Lees verder ...</a>
                                </div>
                             
                     </div>
                
                <?
			}
		
		
		if($item instanceof item_zoeker){
				
				$bericht = $item;
				switch($bericht -> zoeker_type){
				
					case 0:
						$type = "Aanvraag";
					break;
					case 1:
						$type = "Aanbieding";
					break;
				
				}
				?>
                	<div class="item">
                            	<ul>
                                	<li class="title"><?= $type ?> : <?= $bericht -> title; ?></li>
                                    <li class="date"><?= $bericht -> datum; ?></li>
                                </ul>
                                
                                <div>
                                	<?= view::maxChars(view::stripHtml($bericht -> zoeker_text), 300); ?>
                                       <a href="/bewonersgroepen/<?= $this -> bewGroepUrlPart ?>/zoekertjes/<?= $type ?>/<?= view::encodeForUrl($bericht -> title)?>/<?= $bericht -> id ?>/">Lees verder ...</a>
                                </div>
                             
                     </div>
                
                <?
			}
			
			if($item instanceof item_bericht){
				
				$bericht = $item;
				
				?>
                	<div class="item">
                            	<ul>
                                	<li class="title"><?= $bericht -> title; ?></li>
                                    <li class="date"><?= $bericht -> datum; ?></li>
                                </ul>
                                
                                <div>
                                	<?= view::maxChars(view::stripHtml($bericht -> bericht_text), 300); ?>
                                       <a href="/bewonersgroepen/<?= $this -> bewGroepUrlPart ?>/tekstberichten/<?= view::encodeForUrl($bericht -> title)?>/<?= $bericht -> id ?>/">Lees verder ...</a>
                                </div>
                             
                     </div>
                
                <?
			}
			
			
			
			if($item instanceof item_foto){
		
			?>
            
            	
				<div class="item">
                            	<ul>
                                	<li class="title"><?= $item -> title; ?></li>
                                    <li class="date"><?= $item -> datum; ?></li>
                                </ul>
                                
                                <div class="centerText">
                                <img src="<?= $item -> foto_path; ?>"/>
                               </div> 
                                                             
                     </div>
			
		<?	}
		
		if($item instanceof item_video){
		?>
			
            <div class="item">
                            	<ul>
                                	<li class="title"><?= $item -> title; ?></li>
                                    <li class="date"><?= $item -> datum; ?></li>
                                </ul>
                                <div class="centerText">
                                <?= $item -> render(500,350); ?>
                             </div>
                     </div>
            
		
		<? }
		
		
		
		if($item instanceof item_zoekertje){
		?>
			
            <div class="item">
                            	<ul>
                                	<li class="title"><?= $item -> title; ?></li>
                                    <li class="date"><?= $item -> datum; ?></li>
                                </ul>
                                 <div>
                                	<?= view::maxChars(view::stripHtml($bericht -> bericht_text), 300); ?>
                                       <a href="/bewonersgroepen/<?= $this -> bewGroepUrlPart ?>/zoekertjes/<?= view::encodeForUrl($item -> title)?>/<?= $item -> id ?>/">Lees verder ...</a>
                                </div>
                               
                             
                     </div>
            
		
		<? }
		
		
		
		
		}


?>